package com.yanrumiao.entity;

import cc.uncarbon.framework.crud.entity.HelioBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import cc.uncarbon.framework.core.enums.YesOrNoEnum;
import cc.uncarbon.framework.core.enums.EnabledStatusEnum;


/**
 * 加油记录
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "book_byd")
public class BookBydEntity extends HelioBaseEntity<Long> {

    @Schema(description = "加油时间")
    @TableField(value = "date")
    private LocalDate date;

    @Schema(description = "加油金额")
    @TableField(value = "money")
    private BigDecimal money;

    @Schema(description = "油价")
    @TableField(value = "oil_price")
    private BigDecimal oilPrice;

}
